import 'package:get/get.dart';
import 'package:sltchat/page/chat/chat_binding.dart';
import 'package:sltchat/page/chat/chat_view.dart';
import 'package:sltchat/page/home/home_binding.dart';
import 'package:sltchat/page/home/home_view.dart';

class RoutePage {
  static List<GetPage> get pages => [
        GetPage(
            name: RoutePath.home,
            page: () => const HomePage(),
            binding: HomeBinding()),
        GetPage(
            name: RoutePath.chat,
            page: () => const ChatPage(),
            binding: ChatBinding()),
      ];
}

class RoutePath {
  static var home = "/home";
  static var chat = "/chat";
}
